<?php
namespace App\Common\Constant;

/**
 * cookie键字典
 *
 * @author ownfi
 */
class CookieKey {

    const VERIFIED_PHONE_KEY = 'verifiedPhone';
    const CURRENT_USER_ID_KEY = 'currentUserId';
    const CURRENT_WEIXIN_USER_ID_KEY = 'currentWeixinUserId';

    /**
     * 已验证手机号
     * @return string
     */
    static function verifiedPhoneKey(){
        return self::VERIFIED_PHONE_KEY;
    }

    /**
     * 当前用户id
     * @return string
     */
    static function currentUseridKey(){
        return self::CURRENT_USER_ID_KEY;
    }

    /**
     * 当前微信用户id
     * @return string
     */
    static function currentWeixinUseridKey(){
        return self::CURRENT_WEIXIN_USER_ID_KEY;
    }
}
